<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    String m = request.getParameter("m");
    String n = request.getParameter("n");
    if (m == null) {
        m = "";
    }
    if (n == null) {
        n = "";
    }
    int a = 0;
    if (!m.equals("") && !n.equals("")) {
        a = Integer.parseInt(m) * Integer.parseInt(n);
        out.write(m + "*" + n + "=" + a);
    }
%>
</body>
</html>
